package com.wemakedigital.utils {	public class StringUtil 	{		public static function convertLineBreaksToHTML ( string : String ) : String		{			return string.split( String.fromCharCode( 13 ) ).join( "<br />" ) ;		}				public static function removeHTMLTags ( string : String ) : String		{			return string.replace( /<.*?>/g , "" ) ;		}		public static function replaceHTMLTags ( string : String , replace : String ) : String		{			return string.replace( /<.*?>/g , replace ) ;		}		public static function removeWhiteSpace ( string : String ) : String		{			return string.split( " " ).join( "" ) ;		}				public static function stripExtraSlashes ( string : String ) : String		{			while ( string.charAt( string.length - 1 ) == "/" )			{				string = string.substr( 0 , string.length - 1 ) ;			}			if ( string.charAt( 0 ) == "/" ) string = string.substr( 1 , string.length ) ;			return string ;		}	}}